<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<div class="pageContent">
	<form method="post" action="" class="pageForm required-validate" onsubmit="return validateCallback(this)">
						<table class="table" width="100%" layoutH="58">
						<thead>
							<tr>
								<th width="">渠道名称</th>
								<th width="">条件名</th>
								<th width="">条件类别</th>
								<th width="">条件公式</th>
								<th width="">金额</th>
								<th width="">说明</th>
								<th width="">添加日期</th>
								<th width="">状态</th>
								<th width="">删除</th>
							</tr>
						</thead>
						<tbody>
						<c:forEach items="${operats}" var="op">
							<tr target="sid_user" rel="${op.POperatId}">
								<td>${op.PChannelName}</td>
								<td>${op.POperatName}</td>
								<td>
									<c:if test="${op.POperatCalss == 'LG'}">
										货物长
									</c:if>
									<c:if test="${op.POperatCalss == 'HH'}">
										货物高
									</c:if>
									<c:if test="${op.POperatCalss == 'WE'}">
										货物宽
									</c:if>
									<c:if test="${op.POperatCalss == 'PR'}">
										货物周长
									</c:if>
									<c:if test="${op.POperatCalss == 'MW'}">
										货物材重
									</c:if>
									<c:if test="${op.POperatCalss == 'TW'}">
										货物实重
									</c:if>
									<c:if test="${op.POperatCalss == 'TE'}">
										货物类型
									</c:if>
								</td>
								<td><c:out value="${op.POpertCondition}" ></c:out></td>
								<td>${op.POperatCost}</td>
								<td>${op.POperatNote}</td>
								<td>${op.POperatAddDate}</td>
								<td>
									<c:if test="${op.POperatStatus == 'NE'}">
										启用
									</c:if>
									<c:if test="${op.POperatStatus == 'CL'}">
										停用
									</c:if>
								</td>
								<td class="panelBar">
									<a title="删除操作要求：${op.PChannelName}，${op.POperatName}？" target="ajaxTodo" href="<%=basePath%>operat_delOperat.action?dPOperatId=${op.POperatId}" class="btnDel">删除</a>	
								</td>
							</tr>
						</c:forEach>
						</tbody>
					</table>
		</form>
		<div class="formBar">
				<ul>
					<li>
						<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
					</li>
				</ul>
		</div>
</div>
